package org.lc.stk.model.question.impl.judge;

import org.hibernate.annotations.Comment;
import org.lc.stk.model.question.Answer;

import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Table;

@Entity
@Table(name = "judge_question_answer")
@Comment("判断题答案")
public class JudgeQuestionAnswer extends Answer {

    @Column(nullable = false)
    @Comment("答案(true/false)")
    private Boolean answer;

    public Boolean getAnswer() {
        return answer;
    }

    public void setAnswer(Boolean answer) {
        this.answer = answer;
    }

}
